﻿<!DOCTYPE html>
<html manifest="Desktop.manifest">
<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script type="text/javascript" src="@Url.Content("~/Scripts/require.js")" 
        data-main="@Url.Content("~/scripts/application")"></script>
    <link href="~/Content/css-bundle.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <div class="container-fluid">
        <div class="navbar navbar-fixed-top">
            <div class="navbar-inner">
                <div class="container-fluid">
                    <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </a>
                    <a class="brand" href="@Url.Content("/")">Contacts</a>
                    <div class="btn-group pull-right">
                        <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
                            <i class="icon-user"></i>@User.Identity.Name <span class="caret"></span>
                        </a>
                        <ul class="dropdown-menu">
                            <li><a href="#">Profile</a></li>
                            <li class="divider"></li>
                            <li><a href="#">Sign Out</a></li>
                        </ul>
                    </div>
                    <div class="nav-collapse">
                        <ul class="nav">
                            <li class="active"><a href="@Url.Content("/")">Home</a></li>
                            <li><a data-toggle="modal" href="#" data-bind="click: enterRegistration">Enter registration</a></li>
                        </ul>
                    </div>
                    <!--/.nav-collapse -->
                </div>
            </div>
        </div>
        @RenderBody()
        <footer>
        </footer>
    </div>
    <div class="modal hide fade" id="createRegistration"></div>
     <div class="modal hide fade" id="confirmDelete">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal">×</button>
                <h3>Confirm</h3>
            </div>
            <div class="modal-body">
                Really delete this contact?
            </div>
            <div class="modal-footer">
                <a href="#" class="btn" data-dismiss="modal">Cancel</a>
                <button type="submit" class="btn btn-danger" data-bind="click: removeContact">Delete</button>
            </div>
        </div>
</body>
</html>
